From: Florian Müllner Date: Thu, 19 Feb 2015 18:23:14 +0000 (+0100) Subject: messageTray: Notify on notification updates X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1736 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=025985eb07a53afc648f09c2762d4b454d888c56;p=gnome-shell.git messageTray: Notify on notification updates Since notification support was added to the lock screen, notifications are no longer necessarily represented by the actual notification actor anymore. However when an existing notification is updated, external representations currently become outdated. Emit an appropriate signal which allows them to update. https://bugzilla.gnome.org/show_bug.cgi?id=744817 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 4fe17f5dc..3d1a8b268 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -677,6 +677,7 @@ const Notification = new Lang.Class({ } this.updated(); + this.emit('updated', params.clear); }, setIconVisible: function(visible) {